/*
 * 进货单明细查询DTO（包含连表数据）
 */
using System;

namespace VOL.Entity.DomainModels
{
    /// <summary>
    /// 进货单明细查询DTO（包含关联表数据）
    /// </summary>
    public class PurchaseOrderItemDto
    {
        public long Id { get; set; }
        public string OrderCode { get; set; }
        public long GoodsId { get; set; }
        public string GoodsCode { get; set; }
        public string GoodsName { get; set; }
        public string SpecModel { get; set; }
        public long? UnitId { get; set; }
        
        /// <summary>
        /// 单位名称（从unitmodel表连表查询）
        /// </summary>
        public string UnitName { get; set; }
        
        public long? ProductTypeId { get; set; }
        public int? CurrentInventory { get; set; }
        
        /// <summary>
        /// 货品实时库存（从productinformationmodel表连表查询）
        /// </summary>
        public int? RealtimeInventory { get; set; }
        
        public int? PurchaseQty { get; set; }
        public decimal? PurchasePrice { get; set; }
        public string Amount { get; set; }
        public string ItemRemarks { get; set; }
        public sbyte? IsDel { get; set; }
        public string Creator { get; set; }
        public DateTime? CreateDate { get; set; }
        public string Modifier { get; set; }
        public DateTime? ModifyDate { get; set; }
        public int? CreateID { get; set; }
        public int? ModifyID { get; set; }
    }
}

